<html>
<head>
<title>My Form</title>
</head>
<body>

<div style="background-color:#FFAAAA;">
<?php echo validation_errors(); ?>
</div>
<?php echo form_open('form'); ?>

<h5>Username</h5>
<div style="color: #FF5555;"><?php echo form_error('username'); ?></div>
<input type="text" name="username" value="<?=set_value('username')?>" size="50" />

<h5>Password</h5>
<div style="color: #FF5555;"><?php echo form_error('password'); ?></div>
<input type="text" name="password" value="<?=set_value('password')?>" size="50" />

<h5>Password Confirm</h5>
<div style="color: #FF5555;"><?php echo form_error('passconf'); ?></div>
<input type="text" name="passconf" value="<?=set_value('passconf')?>" size="50" />

<h5>Email Address</h5>
<div style="color: #FF5555;"><?php echo form_error('email'); ?></div>
<input type="text" name="email" value="<?=set_value('email')?>" size="50" />


<div><input type="submit" value="Submit" /></div>

</form>

</body>
</html>